home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
os2
/
edm0407s.zip
/
STAT3SRC.ZIP
/
ABOUT.CPP
next >
Wrap
C/C++ Source or Header
|
1996-07-25
|
968b
|
29 lines
#include <os2.h>
#include "about.hpp"
#include "statline.rch"
//**************************************************************************
// AAbout :: AAbout - Constructor for about dialog window *
//**************************************************************************
AAbout :: AAbout (IWindow * ownerWnd)
: IFrameWindow (DLG_ABOUT, ownerWnd)
{
ICommandHandler :: handleEventsFor (this); //Set self as command event handler
}
//**************************************************************************
// AAbout :: command - Process Commands *
//**************************************************************************
Boolean AAbout :: command (ICommandEvent& evt)
{
if(evt. commandId () == DID_OK) // close the windows?
{ // yes
close();
dismiss(DID_OK);
return (true);
}
return (false);
}